package com.outdoor.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Track {
    private Long id;

    //用户id
    private Long uid;
    //轨迹名称
    private String name;
    //总里程
    private Double distance;
    //开始时间
    private LocalDateTime startTime;
    //结束时间
    private LocalDateTime endTime;
    //最高海拔
    private Double maxAltitude;
    //最低海拔
    private Double minAltitude;
    //节点序列
    private String node;
}
